Ext.define('App.user.vacation.view.VacationList', {
    extend: 'Extend.grid.CrudGridPanel',
    alias: 'widget.VacationList',
    requires: ['App.user.vacation.model.VacationViewModel'],
    viewModel: 'VacationViewModel',
    config: {
        tbar: {
            quickCreate: {
                hidden: true
            }
        }
    },
    bind: {
        store: '{Query}',
        columns: '{columns}',
        search: '{search}'
    },
    editor: {
        formClazz: 'App.user.vacation.view.VacationEditor',
        save: 'management/user/vacation/save',
        get: 'management/user/vacation/get_by_id',
        del: 'management/user/vacation/deletes'
    }
});